package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 余额查看对象 jingfei_yue
 * 
 * @author ruoyi
 * @date 2023-04-11
 */
public class JingfeiYue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位ID */
    private String deptid;

    /** 未收款余额 */
    @Excel(name = "未收款余额")
    private Double weishoukuanyue;

    /** 余额 */
    @Excel(name = "余额")
    private Double yue;

    /** 待发金额 */
    @Excel(name = "待发金额")
    private Double daifa;

    /** 滞留金额 */
    @Excel(name = "滞留金额")
    private Double zhiliu;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gengxinshijian;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private Integer isvalid;

    public String getDeptid()
    {
        return deptid;
    }

    public void setDeptid(String deptid)
    {
        this.deptid = deptid;
    }

    public Double getWeishoukuanyue()
    {
        return weishoukuanyue;
    }

    public void setWeishoukuanyue(Double weishoukuanyue)
    {
        this.weishoukuanyue = weishoukuanyue;
    }

    public Double getYue()
    {
        return yue;
    }

    public void setYue(Double yue)
    {
        this.yue = yue;
    }

    public Double getDaifa()
    {
        return daifa;
    }

    public void setDaifa(Double daifa)
    {
        this.daifa = daifa;
    }

    public Double getZhiliu()
    {
        return zhiliu;
    }

    public void setZhiliu(Double zhiliu)
    {
        this.zhiliu = zhiliu;
    }

    public Date getGengxinshijian()
    {
        return gengxinshijian;
    }

    public void setGengxinshijian(Date gengxinshijian)
    {
        this.gengxinshijian = gengxinshijian;
    }

    public Integer getIsvalid()
    {
        return isvalid;
    }

    public void setIsvalid(Integer isvalid)
    {
        this.isvalid = isvalid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deptid", getDeptid())
            .append("weishoukuanyue", getWeishoukuanyue())
            .append("yue", getYue())
            .append("daifa", getDaifa())
            .append("zhiliu", getZhiliu())
            .append("gengxinshijian", getGengxinshijian())
            .append("isvalid", getIsvalid())
            .toString();
    }
}
